package com.mywork.mvpkodeinxml.base.ui.activity

import android.os.Bundle
import android.view.View
import android.widget.FrameLayout
import androidx.appcompat.app.AppCompatActivity

open class BaseActivity: AppCompatActivity(){

    //获取Window视图content
    val contentView:View
    get() {
        val content = findViewById<FrameLayout>(android.R.id.content)
        return content.getChildAt(0)
    }
}